package com.yike.user.service;

import com.yike.user.entity.AgentAreaSetting;
import com.yike.user.param.AgentAreaSettingPageParam;
import com.yike.common.base.BaseService;
import com.yike.common.pagination.Paging;
import com.yike.user.param.AgentAreaSettingParam;
import com.yike.user.vo.AgentAreaInfoVo;
import com.yike.user.vo.AgentAreaVo;

import java.util.List;

/**
 * 代理商区域配置表 服务类
 *
 * @author Sakura
 * @since 2024-09-13
 */
public interface AgentAreaSettingService extends BaseService<AgentAreaSetting> {

    /**
     * 保存
     *
     * @param agentAreaSettingParam
     * @return
     * @throws Exception
     */
    boolean saveAgentAreaSetting(AgentAreaSettingParam agentAreaSettingParam) throws Exception;

    List<AgentAreaVo> getAgentAreaSetting(Long agentId);

    List<AgentAreaInfoVo> getAgentAreas();



}
